package com.cl.crm.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * MenuInfo entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class MenuInfo implements java.io.Serializable {

	// Fields

	private Integer menuId;
	private String menuName;
	private String menuNo;
	private String menuParent;
	private String menuUrl;
	private String menuTarget;
	private String menuRemark;
	private Set roleMenus = new HashSet(0);

	// Constructors

	/** default constructor */
	public MenuInfo() {
	}

	/** minimal constructor */
	public MenuInfo(String menuName, String menuNo, String menuParent,
			String menuUrl) {
		this.menuName = menuName;
		this.menuNo = menuNo;
		this.menuParent = menuParent;
		this.menuUrl = menuUrl;
	}

	/** full constructor */
	public MenuInfo(String menuName, String menuNo, String menuParent,
			String menuUrl, String menuTarget, String menuRemark, Set roleMenus) {
		this.menuName = menuName;
		this.menuNo = menuNo;
		this.menuParent = menuParent;
		this.menuUrl = menuUrl;
		this.menuTarget = menuTarget;
		this.menuRemark = menuRemark;
		this.roleMenus = roleMenus;
	}

	// Property accessors

	public Integer getMenuId() {
		return this.menuId;
	}

	public void setMenuId(Integer menuId) {
		this.menuId = menuId;
	}

	public String getMenuName() {
		return this.menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getMenuNo() {
		return this.menuNo;
	}

	public void setMenuNo(String menuNo) {
		this.menuNo = menuNo;
	}

	public String getMenuParent() {
		return this.menuParent;
	}

	public void setMenuParent(String menuParent) {
		this.menuParent = menuParent;
	}

	public String getMenuUrl() {
		return this.menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public String getMenuTarget() {
		return this.menuTarget;
	}

	public void setMenuTarget(String menuTarget) {
		this.menuTarget = menuTarget;
	}

	public String getMenuRemark() {
		return this.menuRemark;
	}

	public void setMenuRemark(String menuRemark) {
		this.menuRemark = menuRemark;
	}

	public Set getRoleMenus() {
		return this.roleMenus;
	}

	public void setRoleMenus(Set roleMenus) {
		this.roleMenus = roleMenus;
	}

}